home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
recent
/
iib122.lha
/
IIB
/
Threads
/
Additional
/
IARexx.lha
/
LoadMe.irx
< prev
next >
Wrap
Text File
|
1997-03-19
|
1KB
|
53 lines
/*
** $VER: LoadMe.irx 0.01 (10 Jun 1996) **
**
** (c) 1996 Ernesto Poveda Cortes
**
** PROGRAMNAME:
** LoadMe.irx
**
** FUNCTION:
** Just loads an object into Imagine, It is useful to,
** for example, see an object from DOpus when you doubleclik
** it.
**
** REQUIRES:
** Imagine 5.0 loaded and in Detail Editor.
**
** USE:
** rx LoadMe.irx <obect>
**
** $HISTORY:
**
** 10 Jun 1996 : 0.01 : initial release
*/
arg filename
OPTIONS RESULTS /* enable return codes */
ADDRESS 'Imagine.1'
OPTIONS FAILAT 6 /* ignore warnings */
SIGNAL ON SYNTAX /* ensure clean exit */
NL = '0A'x
/* ------------------------------------------------------------------- */
IMAGINETOFRONT
DISPLAYREXXPTR ON
LOADOBJECT filename /* No error check here !!! */
/* ------------------------------------------------------------------- */
ActivateImagine
DISPLAYREXXPTR OFF
EXIT
SYNTAX:
SAY "Sorry, error line" SIGL ":" ERRORTEXT(RC) ":-("
BYE:
ActivateImagine
DISPLAYREXXPTR OFF
EXIT